/*
 * Sequence.cpp
 *
 *  Created on: 19 mars 2012
 *      Author: ubberlisk
 */

#include "Sequence.h"

Sequence::Sequence() :ContentDTD() {

}

Sequence::~Sequence() {
}

void Sequence:: afficher(){

	cout << "(";
	for(unsigned int i=0;i<fils.size();i++){
		fils[i]->afficher();		
		if(i != fils.size()-1){
			cout <<",";			
		}		
	}
	cout <<")" << occurrence ;
}


string Sequence::getName(){
	return "#sequence";
}
